package cn.kgc.boot.vue.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName student
 */
@TableName(value ="student")
@Data
public class Student implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 学号
     */
    @TableField(value = "stu_no")
    private String stuNo;

    /**
     * 姓名
     */
    @TableField(value = "stu_name")
    private String stuName;

    /**
     * 年龄
     */
    @TableField(value = "age")
    private Integer age;

    /**
     * 性别
     */
    @TableField(value = "sex")
    private String sex;

    /**
     * 专业
     */
    @TableField(value = "major")
    private String major;

    /**
     * 入学时间
     */
    @TableField(value = "school_time")
    private Date schoolTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}